package com.xrit.sunnyday.service;

import com.xrit.sunnyday.exception.SunnydayException;
import com.xrit.sunnyday.pojo.Order;

import java.util.Map;

public interface OrderService {

    /*
     * 提交预约
     * */
    Order submitOrder(Map<String, String> paraMap) throws SunnydayException;

    /*
     * 通过id查询订单
     * */
    Map findById(int id);
}
